#include "Graph.h"


int main()
{
	Graph G;
	GraphInit(&G);
	BuildGraph(G, DG);
	GraphArcInsert(G, 0, 1);
	GraphArcInsert(G, 1, 2);
	GraphArcInsert(G, 0, 4);
	GraphArcInsert(G, 3, 4);
	GraphArcInsert(G, 3, 8);
	GraphArcInsert(G, 2, 8);
	GraphArcInsert(G, 4, 5);
	GraphArcInsert(G, 5, 6);
	GraphArcInsert(G, 6, 7);
	GraphArcInsert(G, 8, 6);
	PrintMatrix(G);
	//GraphDFS(G);
	//GraphBFS(G);
	return 0;
}